#include<iostream>
#include<assert.h>
#include<algorithm>
using namespace std;

#include"list.hpp"

void print(jyz::list<int> l)
{
	for (auto& e : l)
	{
		cout << e << " ";
	}
	cout << endl;
}

int main()
{
	jyz::list<int> l;
	l.push_back(1);
	l.push_back(3);
	l.push_back(2);
	l.push_back(4);
	l.push_back(5);
	l.push_back(6);

	print(l);

	jyz::list<int>l2(l);
	print(l2);
	jyz::list<int>l3;
	l3 = l2;
	print(l3);

	//l.push_front(100);
	//print(l);
	//l.pop_front();
	//print(l);
	//print(l);
	//l.pop_back();
	//print(l);
	//l.pop_back();
	//print(l);
	//l.pop_back();
	//print(l);
	//cout << endl;
	return 0;
}